Avoid duplicate import statements.

<p>
  This rule is deprecated, use {rule:java:UselessImportCheck} instead.
</p>
